/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 *
 * @author MongKieu
 */
@Entity
@Table(name = ThamSo.TABLE)
public class ThamSo extends Base {
    /*
     * Ten Bang
     */

    public static final String TABLE = "ThamSo";
    /*
     * Cot So Luong San Pham Tren Trang
     */
    protected  static final String COLUMN_SOLUONGSANPHAMTRENTRANG="SoLuongSanPham";
    @Column(name=COLUMN_SOLUONGSANPHAMTRENTRANG)
    private int soLuongSanPham;

    protected static final String COLUMN_TENTHAMSO="TenThamSo";
    private static final int LENGTH_TENTHAMSO=45;
   @Column(name=COLUMN_TENTHAMSO, length=LENGTH_TENTHAMSO, nullable=false)
   private String tenThamSo;
    public int getSoLuongSanPham() {
        return soLuongSanPham;
    }

    public void setSoLuongSanPham(int soLuongSanPham) {
        this.soLuongSanPham = soLuongSanPham;
    }

    public String getTenThamSo() {
        return tenThamSo;
    }

    public void setTenThamSo(String tenThamSo) {
        this.tenThamSo = tenThamSo;
    }



}
